﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 获取抓拍场景图
    /// </summary>
    public class GetSceneSnap
    {
        /// <summary>
        ///  获取抓拍场景图
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///  GetSceneSnapInfo
        /// </summary>
        public GetSceneSnapInfo info { get; set; }
    }

    public class GetSceneSnapInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string facesluiceId { get; set; }
        /// <summary>
        /// 抓拍图片数据返回类型 0: yuv, 1: bmp, 2: jpeg 0~2（默认：2）
        /// </summary>
        public ImgType ImgType { get; set; }
        /// <summary>
        /// ImgType=2 时必填，压缩的图片质 量(默认:55) 55~100
        /// </summary>
        public int? ImgQuality { get; set; }
    }
}